/*
 *    Document   : McKit
 *    Created on : 04/03/2013, 08:49:22
 *    Author     : Fiúza <rbfiuza@gmail.com>
 */

Ext.define('FC.store.McKit',{
    extend:'Ext.data.Store'

    ,model:'FC.model.McKit'
    ,autoLoad:false
    ,proxy: {
        type: 'ajax'
        ,url: 'listaMcKit'
        ,extraParams: {
            store_id: 1
        }
        ,reader: {
            type: 'json'
            ,root: 'kit'
            ,successProperty: 'success'
        }
    }
    
    ,listeners: {
        load : function(store) {
        //if need something to do after the store loads
        } 
    }     
});